package com.wctj.api.business.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wctj.api.base.Result;
import com.wctj.api.base.entity.DdwxPaymentCfgInfo;
import com.wctj.api.business.common.dto.*;

public interface DdwxPaymentCfgInfoService  extends IService<DdwxPaymentCfgInfo> {

    /**
     * 根据业务编码查询支付配置信息
     * @param phpCallbackBizCode
     * @return
     */
    DdwxPaymentCfgInfoDTO queryInfoByBizCode(String phpCallbackBizCode);

    /**
     * 根据业务编码以及对接平台信息 查询支付配置信息
     * @param phpCallbackBizCode
     * @param systemPlatform
     * @return
     */
    DdwxPaymentCfgInfoDTO queryInfoByBizCodeAndPlatform(String phpCallbackBizCode, String systemPlatform);

    Result<Object> getPlatformConfigList(PlatformConfigQueryDTO platformConfigQueryDTO);

    Result<Object> deletePlatformConfig(PlatformConfigSDeleteDTO platformConfigSDeleteDTO);

    Result<Object> savePlatformConfig(PlatformConfigSaveDTO platformConfigSaveDTO);

    Result<Object> addPlatformConfig(PlatformConfigAddDTO platformConfigAddDTO);
}
